{template "content","header"}
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
    <div class="page_list">
        <div class="page">
            <div class="wrap">
                <div class="page_tit">
                    <h3 class="wow fadeInUp" data-wow-delay=".1s">联系我们</h3>
                    <p class="wow fadeInUp" data-wow-delay=".1s">
                        <span>Contact</span></p>
                </div>
                <div class="cont_list">
                    <ul class="wow_list">
                        <li class="wow fadeInUp">
                            <div class="img1">
                                <img src="./statics/imlijia/images/img23.png" /></div>
                            <div class="text">
                                <h3>电话</h3>
                                <p>13829792997</p>
                            </div>
                        </li>
                        <li class="wow fadeInUp">
                            <div class="img1">
                                <img src="./statics/imlijia/images/img24.png" /></div>
                            <div class="text">
                                <h3>地址</h3>
                                <p>广东省广州市番禺区大石街朝阳东路166号</p>
                            </div>
                        </li>
                        <li class="wow fadeInUp">
                            <div class="img1">
                                <img src="./statics/imlijia/images/img25.png" /></div>
                            <div class="text">
                                <h3>邮箱</h3>
                                <p>61756348@qq.com</p>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="page on">
            <div class="wrap">
                <div class="page_tit">
                    <h3 class="wow fadeInUp" data-wow-delay=".1s">留言给我们</h3>
                    <p class="wow fadeInUp" data-wow-delay=".1s">
                        <span>Message</span></p>
                </div>

                <form name='feedback' method='post' enctype='multipart/form-data' action='?m=formguide&c=index&a=show&formid=12&siteid=1' onsubmit="return checkForm();">
                    <input name='enews' type='hidden' value='AddFeedback'>
                    <input type='hidden' name='bid' value='1'>
                    <input type="hidden" name="ecmsfrom" value="/">
                    <div class="message wow fadeInUp" data-wow-delay=".1s">
                        <ul>
                            <li>
                                <div class="div_input"><input type="text" name='info[name]' id='title' placeholder="您的称呼" /></div>
                            </li>
                            <li>
                                <div class="div_input"><input type="text" name='info[mycall]' id='mycall' placeholder="您的电话" /></div>
                            </li>
                            <li>
                                <div class="div_input">
                                    <textarea type="text" name='info[message]' id='message' placeholder="写下您的需求和建议"></textarea>
                                </div>
                            </li>
                        </ul>
                        <!-- <input type="submit" name="dosubmit" id="dosubmit" value=" 提交 "> -->
                        <div class="btn"><a onclick="$('form').submit()">提交留言</a></div>
                    </div>
                </form>

                <!-- <script data-cfasync="false" src="/ECMS_DGSJ/js/email-decode.min.js"></script> -->
                <script type="text/javascript">function checkForm() {
                    if (document.getElementById('title').value.length == 0) {
                        alert('您的称呼不能为空！');
                        return false;
                    }
                    if (document.getElementById('mycall').value.length == 0) {
                        alert('您的电话不能为空！');
                        return false;
                    }
                    if (document.getElementById('message').value.length == 0) {
                        alert('内容不能为空！');
                        return false;
                    }

                    return true;
                }</script>
            </div>
        </div>
        <!-- <div class="map"><img src="./statics/imlijia/images/map.jpg" /></div> -->


<div id="container"></div>

<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
<style type="text/css">
    #container{
        width: 100%;
        height: 300px;
    }
    .btn, .div_input input{
        border:0;
    }
</style>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=69757c94480e4fcdbdd1135536f1a9d1"></script>
<script type="text/javascript">
    var infoWindow;
    var map = new AMap.Map("container", {
        resizeEnable: true,
        center: [113.31786,23.026516],
        zoom: 18
    });

    function showInfoOpen(){
        var text = '您打开了信息窗体！'
        // document.querySelector("#text").innerText = text;
    }
    function showInfoClose(){
        var text = '您关闭了信息窗体！'
        // document.querySelector("#text").innerText = text;
    }

    //在指定位置打开信息窗体
    function openInfo() {
        //构建信息窗体中显示的内容
        var info = [];
        // info.push("<div><div><img style=\"float:left;\" src=\" https://webapi.amap.com/images/autonavi.png \"/></div> ");
        info.push("<div style=\"padding:0px 0px 0px 4px;\"><b>励佳科技</b>");
        info.push("电话 : 13829792997   邮编 : 510000");
        info.push("地址 :广东省广州市番禺区大石街朝阳东路166号</div></div>");
        infoWindow = new AMap.InfoWindow({
            content: info.join("<br/>")  //使用默认信息窗体框样式，显示信息内容
        });
        infoWindow.on('open',showInfoOpen)
        infoWindow.on('close',showInfoClose)
        infoWindow.open(map, map.getCenter());

    }
    function closeInfo() {
        infoWindow.close();
    }

    openInfo()
    // 给按钮绑定事件
    // document.getElementById("clickOn").onclick = openInfo;
    // document.getElementById("clickOff").onclick = closeInfo;
</script>




    </div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
{template "content","footer"}
